﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using iLangl.Model;
using System.Data;

namespace iLangl.BusinessModel.DAL
{
	public interface ILanguageDAL
	{
		void RegisterLanguages(IList<Language> languages, IDbTransaction trans);
		IList<Language> GetLanguages();

		void RegisterPluginLanguages(IList<PluginLanguage> languages, IDbTransaction trans);
		Language GetLanguage(String pluginId, String code);
		Language GetPluginLanguage(string pluginId, string languagecode);

		Language ReadLanguage(String code);
	}
}
